package com.ruoyi.common.elasticsearch.domain;

import java.util.List;

/**
 * @ClassName SearchResult
 * @Description 搜索结果封装
 * @Author huangshun
 * @Date 2021/12/17 16:43
 */
public class SearchResult {

    private List<EsSkuInfo> products;

    private Integer pageNum;

    private Long total;

    private Integer totalPages;

    private List<Object> brands;

    private List<Object> catalogs;

    private List<Object> attrs;

    public List<EsSkuInfo> getProducts() {
        return products;
    }

    public void setProducts(List<EsSkuInfo> products) {
        this.products = products;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    public List<Object> getBrands() {
        return brands;
    }

    public void setBrands(List<Object> brands) {
        this.brands = brands;
    }

    public List<Object> getCatalogs() {
        return catalogs;
    }

    public void setCatalogs(List<Object> catalogs) {
        this.catalogs = catalogs;
    }

    public List<Object> getAttrs() {
        return attrs;
    }

    public void setAttrs(List<Object> attrs) {
        this.attrs = attrs;
    }
}
